Skip to main content

Step 4 - Creation of Web API Solution

Create new Solution for Web API

  • Create a new class library project of DAL layers and business layer in Dot Net 7 and one project of type ASP Dot Net Core Web API for API layer.

  • Add Custom DAL classes manually if present, and DALBase file.

  • Add all the Generated DAL classes.

  • Add all project reference.

  • Add required NuGet packages.

    • Microsoft.EntityFrameworkCore
    • Microsoft.EntityFrameworkCore.SqlServer
    • Oracle.EntityFrameworkCore
    • System.Configuration.ConfigurationManager
    • System.Linq.Dynamic.Core
  • Clean Build (If any DTO SO is missing add those)

  • Add all files of AB and IB into new Dot Net 7 AB and IB project respectively.

    • Add all project reference.
  • Add all required biz files under business layer (for example Com.Surya.Biz).

    • Add all project reference .
  • Add missing custom DAL methods (if any).

  • Add all these classes under WebAPI project.